GBML manual / Constants

SHAPE_45_CEILING_DOWN_RIGHT

A 45 degree slope: ceiling falling to the right.

Syntax

SHAPE_45_CEILING_DOWN_RIGHT: constant

Description

A 45 degree slope: ceiling falling to the right. It is the number 3. It fills one square. The Slopes page shows how the shapes join.

########
.#######
..######
...#####
....####
.....###
......##
.......#

In the picture, the characters # are solid pixels and the dots are open ones.

Example

tile_set_shape(x, y + 8, SHAPE_45_CEILING_DOWN_RIGHT);

Gives the square just under the walker this slope.

See also: tile_shapetile_set_shapeSlopes